﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MemberCardTrade.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.MemberCard.MemberCardTrade" %>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, dialogAjaxDone);" action="/SystemManage/Basics/shop/MemberCard/MemberCardTrade.aspx">
    
<!-- 需保存的全局变量 -->
<asp:label runat="server" ID="_uid" Visible="False" ></asp:label>
    <asp:label runat="server" ID="_gid" Visible="False" ></asp:label>
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
		<div class="unit">
			<label>卡号：</label>
             <%--<asp:textbox runat="server" readonly="true" id="txt_cardno" name="CardNo" class="required"></asp:textbox>  --%>
             <%=  cardRight.CardNo %>    
		</div>
		<div class="unit">
			<label>类型：</label>
          <%=  ZLCMS.Business.Util.ParamKit.GetValue("MemberCardKind",cardRight.Kind as string,"未知")  %>     
		</div>
        <div class="unit">
			<label>标题：</label>
            <%=  cardRight.Title %>     
		</div>
		<div class="unit">
			<label><%= cardRight.Kind == "timescard" ? "次数" : "余额"%>：</label>
          <%=  cardRight.RemainAmount %>        
		</div>
		
        	<div class="unit">
			<label><%= Request["type"] == "charge" ? "充值" : "消费"%><%= cardRight.Kind == "timescard" ? "次数" : "金额"%>：</label>
         <asp:textbox runat="server"  id="txt_consumption" width="100px" name="Consumption" class=" required number" ></asp:textbox>    
		</div>
        	<div class="unit">
			<label>备注：</label>
         <textarea id="txt_remark" runat="server"   name="Remark" cols="60" rows="4" class=""></textarea>
		</div>
	</div>
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
		</ul>
	</div>  
</div>
</form>